package com.jing.cloud.service.user.bean;

import com.jing.cloud.service.bean.BaseBean;
import com.jing.cloud.service.util.db.annotation.Column;
import com.jing.cloud.service.util.db.annotation.Ignore;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.List;

/**
 * Created by 29017 on 2017/8/31.
 */
@Data()
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class User extends BaseBean {
    private String nickname;
    private String signature;
    private String headImg;
    private Integer sex;
    private Long birthDate;
    private Integer birthYear;
    private Integer birthMonth;
    private Integer birthDay;
    private Integer state;

    private Integer userType;
    @Column(length = 10000)
    private String json;

    @Ignore
    private List<Account> accounts;
}
